<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>New Class Constants</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration52.global-constants.html">New Global Constants</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration52.newconf.html">New INI Configuration Directives</a></div>
 <div class="up"><a href="migration52.html">Migrating from PHP 5.1.x to PHP 5.2.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="migration52.class-constants" class="section">
  <h2 class="title">New Class Constants</h2>

  <p class="para"><a href="intro.pdo.html" class="link">pdo</a>:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>PDO::ATTR_DEFAULT_FETCH_MODE</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PDO::FETCH_PROPS_LATE</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PDO::FETCH_KEY_PAIR</code></strong>
    </span>
    <span class="simpara">
     Fetches a 2 column result set into an associated array. (Added in PHP 5.2.3)
    </span>
   </li>
  </ul>

  <p class="para"><a href="ref.spl.html" class="link">spl</a>:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>CachingIterator::FULL_CACHE</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CachingIterator::TOSTRING_USE_INNER</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SplFileObject::READ_AHEAD</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SplFileObject::READ_CSV</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SplFileObject::SKIP_EMPTY</code></strong>
    </span>
   </li>
  </ul>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration52.global-constants.html">New Global Constants</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration52.newconf.html">New INI Configuration Directives</a></div>
 <div class="up"><a href="migration52.html">Migrating from PHP 5.1.x to PHP 5.2.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
